package textui;
public class UIRunner {
	private UIElement _root;
	public UIRunner(UIElement root)
	{
		_root = root;
	}
	public void run()
	{
		
		while(_root!=null)
			_root = _root.run();
		
	}
}
